tools/libxl: mark special pages as reserved in e820 map for PVH
authorJuergen Gross <jgross@suse.com>
Tue, 21 Nov 2017 11:06:06 +0000 (12:06 +0100)
committerWei Liu <wei.liu2@citrix.com>
Tue, 13 Feb 2018 12:36:07 +0000 (12:36 +0000)
commit1a42ffa3476ab433da9dc27c6d36f051b70592ed
tree436000192a3afd9522f38d5fb1158959ebf7ff11
parent37f1a96888f6022872213428cdc24060700aa9ba
tools/libxl: mark special pages as reserved in e820 map for PVH

The "special pages" for PVH guests include the frames for console and
Xenstore ring buffers. Those have to be marked as "Reserved" in the
guest's E820 map, as otherwise conflicts might arise later e.g. when
hotplugging memory into the guest.

Signed-off-by: Juergen Gross <jgross@suse.com>
Reviewed-by: Roger Pau Monné <roger.pau@citrix.com>
Acked-by: Wei Liu <wei.liu2@citrix.com>
tools/libxl/libxl_x86.c